﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x020002C9 RID: 713
	public class TDropViewSqlNode : TParseTreeNode
	{
		// Token: 0x17000517 RID: 1303
		// (get) Token: 0x06001814 RID: 6164 RVA: 0x00328DD2 File Offset: 0x00326FD2
		public virtual TObjectName ViewName
		{
			get
			{
				return this.viewName;
			}
		}

		// Token: 0x17000518 RID: 1304
		// (get) Token: 0x06001815 RID: 6165 RVA: 0x00328DDA File Offset: 0x00326FDA
		public virtual TObjectNameList ViewNameList
		{
			get
			{
				return this.viewNameList;
			}
		}

		// Token: 0x06001816 RID: 6166 RVA: 0x00328DE4 File Offset: 0x00326FE4
		public override void init(object arg1)
		{
			if (arg1 is TObjectName)
			{
				this.viewName = (TObjectName)arg1;
				this.viewName.DbObjectType = EDbObjectType.view;
				this.viewName.ObjectType = 18;
				return;
			}
			if (arg1 is TObjectNameList)
			{
				this.viewNameList = (TObjectNameList)arg1;
				for (int i = 0; i < this.viewNameList.size(); i++)
				{
					this.viewNameList.getObjectName(i).ObjectType = 18;
					this.ViewNameList.getObjectName(i).DbObjectType = EDbObjectType.index;
				}
			}
		}

		// Token: 0x0400184A RID: 6218
		private TObjectName viewName;

		// Token: 0x0400184B RID: 6219
		private TObjectNameList viewNameList;
	}
}
